<?php 
// Lay cac thong so cau hinh chung
include "../app_global.php";
// Lay cac hang so dung chung
include "../const.php";
// Ham thuc hien lay ten file va hien thi noi dung
include "../isa-lib/isa-function/isa_public_function.php";
require_once("../isa-lib/nusoap/nusoap.php");
include "../isa-lib/isa-function/prax.php";
//Ham thuc hien tao cay
include_once("../isa-lib/isa-function/class_xslt.php");
// Kiem tra NSD da login hay qua timeout chua
include "../test_login.php";
include "../connect.php";
include "../connect_ado.php";
// Lay cac thong so cau hinh rieng cho chuc nang nay
include "onegate_function.php";

// Khoi tao cac bien SESSION chua quyen modul, function cua NSD
include "../init_session.php";
include "app_local.php";
include "const.php";
include "config_undo.php";
// Lay cac hang so cua chuc nang nay
if (!isset($_REQUEST['modal_dialog_mode'])) {
	include "../dsp_header.php";
}else{
	include "../dsp_modal_dialog_header.php";
}
?>
<script src="../isa-lib/isa-js/isa_util.js" ></script>
<script src="js_record_undo.js" ></script>
<?php
//echo $fuseaction.'<br>';
switch($fuseaction) {
	case "DISPLAY_ALL_RECORD_WORK";
		include "../record/record-lib/qry_single_record.php";
		include "qry_all_record_work.php";
		include "dsp_all_record_work.php";
		break;	
	case "UPDATE_RECORD_STATUS";
		include "act_update_record_status.php";
		break;
	default:
		include "qry_all_recordtype_by_staff.php";
		include "dsp_single_conditions.php";
		include "qry_all_record.php";
		include "dsp_all_record.php";
		break;	
}
include "../disconnect.php";
if (!isset($_REQUEST['modal_dialog_mode'])) {
	include "../dsp_footer.php";
}else{
	include "../dsp_modal_dialog_footer.php";
}?>